package com.kly.user.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class UserLoginDto implements Serializable {
    @NotBlank(message = "Account cannot be empty")
    private String account;


    private String mobile;

    private String verificationCode;

    private String email;
    /**
     * 是否记住我，默认 false
     */
    private Boolean rememberMe = false;

    @NotNull(message = "Login type cannot be empty")
    private Integer loginType;

    private String clientId;

    private String userName;

    private String appsFlyerUid;

    private String appVersion;

    private Integer appVersionNo;

    private String channel;

    /**
     * ios身份令牌
     */
    private String identityToken;

    private String appCode;
    /**
     * 1-android 2-ios
     */
    private Integer appSource;

    private String googleAdId;

    public UserLoginDto() {

    }
}
